package com.wzh.gulimall.search.vo;

import lombok.Data;

import java.util.List;

/**
 * 封装页面所有可能传递的查询条件
 */
@Data
public class SearchParam {

    private String keyword;

    private Long catalogId;
    /**
     * sort=saleCount_asc/desc
     * sort=skuPrice_ase/desc
     * sort=hotScore_asc/desc
     */
    private String sort;

    private Boolean hasStock;

    private String skuPrice;

    private List<Long> brandId;

    private List<String> attrs;

    private Integer pageNum = 1;

    private String _queryString; //原生的所有查询条件
}
